package edu.sctu.zhuyingzhi.month201505.day20150506.homeworkV2;

/**
 * Created by user24 on 2015/5/4.
 */
public class Call{
   public void shows(InterfaceDog demo){
       Natureone one = new Natureone();
       one.nature();
       System.out.println(demo.getNature(one.color, one.size, one.action));


       Naturetwo two=new Naturetwo();
       two.nature();
       System.out.println(demo.getNature(two.color, two.size, two.action));

       Naturethree three=new Naturethree();
       three.nature();
       System.out.println(demo.getNature(three.color, three.size, three.action));

   }


}
